package com.hskn.hss.module.operaterecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OperateRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作记录id
     */
    @TableId(value = "operate_record_id", type = IdType.ASSIGN_UUID)
    private String operateRecordId;

    private String oldValue;

    private String newValue;

    private Date createTime;

    private String createUid;

    private String createName;

    private Date updateTime;

    private String updateUid;

    /**
     * 操作数据对象id
     */
    private String objId;

    /**
     * 类型，改的哪里的数据，直接用中文标记，比如 机械作业
     */
    private String type;
}
